package com.onstar.cn.framework.network.enumtype;


/**
 * The request must be either in XML or JSON format. To get the required format
 * of the response the client can specify the MIME type in the Accept Type HTTP
 * header
 * 
 * @author 7828wc
 * 
 */
public enum HttpAccept {
	/**
	 * JSON
	 */
	JSON("application/json"),
	/**
	 * XML
	 */
	XML("application/xml"),
	
	/**
	 * IMAGE
	 */
	IMAGE("image/png");

	private final String value;

	HttpAccept(String v) {
		value = v;
	}

	public String value() {
		return value;
	}
}
